import { HttpException, HttpStatus } from '@nestjs/common';

export class BusinessException extends HttpException {
  constructor(code: string, message: string) {
    super(message, HttpStatus.OK, { cause: code || '' });
  }
}
